package cn.softgame.cms.secure.user.persistence;

import java.util.List;

import cn.softgame.cms.secure.nm.domain.ResDevModel;
import cn.softgame.cms.secure.user.domain.Organization;
import cn.softgame.cms.secure.user.domain.User;
import cn.softgame.cms.secure.user.domain.UserOrgData;
import cn.softgame.cms.secure.user.domain.UserResData;

public interface UserMapper {
	
	List<User> queryAllUsers(User user);
	
	Integer userCount(User user);
	
	void saveUser(User user);
	
	void updateUser(User user);
	
	void resetPassword(User user);
	
	void updatePw(User user);
	
	User queryUserByUserId(String userId);	
	
	void delUser(String userId);
	
	void saveUserOrgData(UserOrgData userOrgData);
	
	void saveUserResData(UserResData userResData);
	
	void updateUserResData(UserResData userResData);
	
	List<UserOrgData> queryUserOrgDataByUserId(String userId);
	
	List<UserResData> queryUserResDataByUserId(String userId);
	
	void deleteUserOrgData(String userId);
	
	void deleteUserResData(String userId);
}
